// 顶部导航
#topbar{
    height: 28px;
    line-height: 28px;
    background: #f2f2f2;
    color: #666;

         .topbar-left {
            float: left;

            a{
                display: inline-block;
                padding: 0 5px;
            }
        }

         .topbar-right {
            float: right;
            margin-right: 100px;

            a{
                display: inline-block;
                padding: 0 5px;
            }

            a:hover{
                color:#979797;
                text-shadow: 2px 2px 1px 1px;
            }
        }    
    }
// 头部信息栏
#header{
    padding: 24px 0 16px 0;
    background: #fff;
    display: flex;
    justify-content: space-evenly;

    .logo img{
        margin-left: 10px;
        max-width: 215px;
        max-height: 90px;
    }

    form{
        margin: 20px 20px 0 0;
        display: block;

        .x-input{
            float: left;
            width: 450px;
            height: 25px;
            line-height: 25px;
            padding: 5px;
            border: 1px solid #c81623;
            border-radius: 0;
        }

        .searchBar{
            display: inline-block;
            width: 100px;
            height: 37px;
            line-height: 37px;
            background: #ea2329;
            color: #fff;
            font-size: 14px;
            text-align: center;
        }
    }

    .lookGoodsCar{
        margin: 20px 10px 0 0;
        width: 130px;
        height: 37px;
        background-color: #ea2329;
        line-height: 37px;
        color: #fff;
        font-size: 14px;
        text-align: center;
    }
}
// 页面导航栏
.nav{
    height: 40px;
    line-height: 40px;
    
        .nav-left{
            float: left;
            width: 223px;
            position: relative;

            .goodsType{
                width: 100%;
                height: 40px;
                text-align: center;
                background: #008FD5;
                color: white;
                font-size: 14px;
            }

    }
    .nav-main{
        float: left;
        display: flex;
        margin-left: 2px;

        a{
            display: inline block;
            width: 120px;
            height: 40px;
            color: #000;
            font-size: 14px;
            line-height: 40px;text-align: center;
        }

        a:hover{
            background-color: #ea2329;
            color: white;
        }
    }
}
// 商品导航区
.main{
    overflow: hidden;
    padding: 20px 0;
    
    .main-lg{
        // background-color: pink;

        .bread-nav {
            margin-bottom: 20px;
            color: #8c8c8c;
            line-height: 100px;
            background-color: #EFEFEF;
            WIDTH: 1920PX;
            MARGIN-LEFT: -300PX;
            PADDING-LEFT: 300PX;

            a {
                font-size: 14px;
                color: #333333;
            }

            span{
                font-size: 14px;
                color: #333333;
            }

            a:first-child {
                font-size: 15px;
                font-weight: 700;
                color: #333333;
            }

            span:last-child {
                color: #999999;
            }
        }
    }

        .goods-details{
            margin-bottom: 10px;

//商品详情区左边
            .details-left{
                width: 410px;
                float: left;

                .showGoods{
                    position: relative;
                    img{
                        width: 400px;
                        height: 400px;
                    }

                    .shadow {
                        width: 200px;
                        height: 200px;
                        background-color: rgba(255, 0, 0, 0.5);
                        position: absolute;
                        left: 0;
                        top: 0;
                        cursor: all-scroll;
                        display: none;
                        z-index: 1000;
                    }
                }

                .showList{
                    width: 100%;
                    display: flex;
                    margin-top: 10px;
                    border: 2px solid transparent;

                    .active {
                        border-color: red;
                    }

                    li{
                        flex: 1;

                        img{
                            display: inline-block;
                            max-width: 70px;
                            max-height: 70px;
                            vertical-align: middle;
                        }
                    }
                    li+li {
                        margin-left: 10px;
                    }
                }
            }
//商品详情区右边
            .details-right{
                width: 644px;
                margin-left: 10px;
                float: right;
                position: relative;

                .bigImg{
                    position: absolute;
                    left: -140px;
                    width: 400px;
                    height: 400px;
                    background-color: rgba(0, 0, 0, 0.5);
                    overflow: hidden;
                    display: none;

                    img {
                        width: 800px;
                        height: 800px;
                        position: absolute;
                        left: 0;
                        top: 0;
                    }
                }
                
                .goods-title{
                    padding: 0px 20px 10px 0;

                    span{
                        font-size: 22px;
                        font-weight: 400;
                        color: rgb(74, 71, 71);
                    }
                }

                .goods-price{
                    padding-top: 20px;
                    padding-bottom: 20px;
                    background: #f4f6fa;

                    span:nth-child(1){
                        margin-left: 10px;
                        font-size: 35px;
                        color: #ca151d;
                    }
                    span:nth-child(2){
                        color: rgb(74, 71, 71);
                        margin-left: 350px;
                    }
                }

                .goods-type{
                    margin-top: 20px;
                    margin-bottom: 12px;
                    color: #666666;
                    border-top: 1px dashed #666;

                    .dt {
                        margin-top: 15px;
                        float: left;
                        width: 75px;
                        height: 36px;
                        clear: both;
                        font-size: 12px;
                        line-height: 30px;
                    }

                    .choose-item-wrap {
                        float: left;
                        width: 559px;

                        .choose-item {                     
                            float: left;
                            width: 167px;
                            height: 43px;
                            line-height: 43px;
                            text-align: center;
                            cursor: pointer;
                            border: 1px solid #cbcbcb;
                            outline: 1px solid #ffffff;
                            margin: 15px 10px 5px 0;
                            padding: 0 5px;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                            overflow: hidden;

                            img {
                                display: inline-block;
                                width: auto;
                                height: 100%;
                            }
                        }

                        .choose-item:hover{
                            border: 1px solid #ca151d;
                        }
                    }
                    
                    .dd{
                        display: inline-block;
                        margin:22px 0 0 0;
                        color: #ca151d;
                    }

                    .buy-number{
                        margin-top: 28px;
                        display: flex;

                        .btn{
                            display: inline-block;
                            width: 30px;
                            height: 38px;
                            line-height: 38px;
                            text-align: center;
                            border: 1px solid #c6c6c6;
                            border-right-color: #dedede;
                        }
                        .buyNumber{
                            width: 60px;
                            height: 38px;
                            line-height: 38px;
                            text-align: center;
                            border: 1px solid #c6c6c6;
                        }
                    }

                    .Btn{
                        display: inline-block;
                        width: 220px;
                        height: 52px;
                        text-align: center;
                        line-height: 52px;
                        background-color: #ca151d;
                        color: white;
                        font-size: 16px;
                        margin-top: 20px;
                    }
                    .addCar{
                        color: #ca151d;
                        border: 1px solid #ca151d;
                        background-color: white;
                        margin-left: 8px;
                    }
                }
            }
        }
}
// 商品详情细节
.goodsDetail{
    margin-top: 30px;

    .goodsDetail-lg{
        border-top: 1px solid #c6c6c6;
    }
}
